Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix watermark not disappearing when playing back demo with viewdemo #148

Merged
merged 1 commit into from
Nov 19, 2021

Conversation

chinese-soup
Copy link
Contributor

@chinese-soup chinese-soup commented Nov 18, 2021

For playdemo and normal gameplay the time float is correct on the first Draw() frame, this however isn't true for viewdemo, where it starts on the correct "server time" from that demo (e.g. 331) for a few frames, but then resets itself to 0 and starts adding up, this results in the 15 second offset for hiding the watermark message being set to e.g. 331 + 15 = 346, but time is then counting from 0, resulting in the watermark not disappearing for 346 more seconds when using viewdemo.

@YaLTeR YaLTeR merged commit c52c51e into YaLTeR:master Nov 19, 2021
@YaLTeR
Copy link
Owner

YaLTeR commented Nov 19, 2021

Thanks

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants